{include file="admin/public/header" /}
 <div class="middle-box text-center loginscreen   animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name"><img style="width:120px;" src="{:getset('system_logo')}" alt=""></h1>

            </div>
            <h3>{:getset('site_name')}</h3>
            <p>创建一个{:getset('site_name')}新账户</p>
            <form class="m-t cmzForm" role="form" action="{:url('ucenter/ajax/reg')}">
                <div class="form-group">
                    <input type="text" name="user_name" class="form-control" placeholder="请输入用户名" required="">
                </div>
                <div class="form-group">
                    <input type="text" name="email" class="form-control" placeholder="请输入邮箱" required="">
                </div>
                <div class="form-group">
                    <input type="password" name="password" class="form-control" placeholder="请输入密码" required="">
                </div>
                <div class="form-group" style="overflow:hidden;">
                    <input type="password" name="repassword" class="form-control" placeholder="请再次输入密码" required="">
                </div>
              {if condition="getset('register_seccode')=='Y'"}
                <div class="form-group">
                    
                <div class="col-sm-4" style="margin:0px;padding:0px; border-radius: 1px;">
                     <img src="{:captcha_src()}" alt="captcha" onclick="this.src='{:captcha_src()}' + '?'+Math.floor(Math.random() * 10000);" />
                </div>
                    <div class="col-sm-7 pull-right" style="margin:0px;padding:0px">
                        <input placeholder="验证码" class="form-control" name="captcha" type="text">
                    </div>
                </div>
            {/if}
                   <div style="clear:both;"></div>  
        
                <div class="form-group text-left">
                    <div class="checkbox i-checks">
                        <label class="no-padding">
                            <input type="checkbox" name="agreement" value="1"><i></i> 我同意注册协议 </label><a href="javascript:;" class="frAlert" wh="30%"  url="/ucenter/user/agreement">查看协议</a>
                    </div>
                </div>
                <a type="submit" class="btn btn-primary block full-width m-b cmzPost">注 册</a>

                <p class="text-muted text-center"><small>已经有账户了？</small><a href="login.html">点此登录</a>
                </p>

            </form>
        </div>
    </div>
{include file="admin/public/footer" /}